The DISSOLVE procedure provides a digital “dissolve” effect for images. The routine copies pixels from the image (arranged into square tiles) to the display in pseudo-random order. This routine is written in the IDL language. Its source code can be found in the file dissolve.pro in the lib subdirectory of the IDL distribution.
DISSOLVE, Image [, DELAY=seconds] [, /ORDER] [, SIZ=pixels] [, X0=pixels] [, Y0=pixels]
The image to be displayed. It is assumed that the image is already scaled. Byte-valued images display most rapidly.
The wait between displaying tiles. The default is 0.01 second.
The Image display order: 0 = bottom up (the default), 1 = top-down.
Size of square tile. The default is 32 x 32 pixels.
The X offset of the lower-left corner of the image on screen, in pixels.
The Y offset of the lower-left corner of the image on screen, in pixels.
Display an image using 16 x 16 pixel tiles:
DISSOLVE, DIST(200), SIZ=16
Pre 4.0 |
Introduced |